﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace FCTC_Web.Models
{
    public class Case:EntityBase
    {

        public int? EstimatorID { get; set; }
        public virtual Estimator Estimator { get; set; }

        [Display(Name = "案例标题"), Required(ErrorMessage = "请输入此案例的标题")]
        [MaxLength(100)]
        public string CaseTitle { get; set; }

        [Display(Name = "案例描述"), Required(ErrorMessage = "请输入此案例的描述")]
        [MaxLength(500)]
        public string CaseContent { get; set; }

        [Display(Name = "案例详细信息"), Required(ErrorMessage = "请输入此案例的详细信息")]
        public string CaseDetails { get; set; }

    }
}